package com.ncloud.crm.entity.order;
import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

/**
 * Created by shiqiang on 2017/4/12.
 */
@SuppressWarnings("serial")
public class WorkNode implements Serializable{
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long workId;
    private String modifyTag;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long nodeId;
    private String nodeName;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long custId;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long prodInstId;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long prodId;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long discntInstId;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long discntId;
    /*节点类型1-CPE(硬件设备) 2-VCPE(虚拟设备)*/
    private String nodeType;
    private String nodeTypeName;
    private String nodeSubType;
    private String subTypeName;
    /*公网接入类型 1-单ISP 2-多ISP*/
    private String accessType;
    private String accessTypeName;
    /*是否有效*/
    private String effFlag;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date beginDate;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long updateUser;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long orderId;

    public Long getWorkId() {
        return workId;
    }

    public void setWorkId(Long workId) {
        this.workId = workId;
    }

    public String getModifyTag() {
        return modifyTag;
    }

    public void setModifyTag(String modifyTag) {
        this.modifyTag = modifyTag;
    }

    public Long getNodeId() {
        return nodeId;
    }

    public void setNodeId(Long nodeId) {
        this.nodeId = nodeId;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public String getAccessType() {
        return accessType;
    }

    public void setAccessType(String accessType) {
        this.accessType = accessType;
    }

    public String getEffFlag() {
        return effFlag;
    }

    public void setEffFlag(String effFlag) {
        this.effFlag = effFlag;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

	public String getNodeTypeName() {
		return nodeTypeName;
	}

	public void setNodeTypeName(String nodeTypeName) {
		this.nodeTypeName = nodeTypeName;
	}

	public String getAccessTypeName() {
		return accessTypeName;
	}

	public void setAccessTypeName(String accessTypeName) {
		this.accessTypeName = accessTypeName;
	}

	public String getNodeSubType() {
		return nodeSubType;
	}

	public void setNodeSubType(String nodeSubType) {
		this.nodeSubType = nodeSubType;
	}

	public String getSubTypeName() {
		return subTypeName;
	}

	public void setSubTypeName(String subTypeName) {
		this.subTypeName = subTypeName;
	}

    public Long getCustId() {
        return custId;
    }

    public void setCustId(Long custId) {
        this.custId = custId;
    }

    public Long getProdInstId() {
        return prodInstId;
    }

    public void setProdInstId(Long prodInstId) {
        this.prodInstId = prodInstId;
    }

    public Long getProdId() {
        return prodId;
    }

    public void setProdId(Long prodId) {
        this.prodId = prodId;
    }

    public Long getDiscntInstId() {
        return discntInstId;
    }

    public void setDiscntInstId(Long discntInstId) {
        this.discntInstId = discntInstId;
    }

    public Long getDiscntId() {
        return discntId;
    }

    public void setDiscntId(Long discntId) {
        this.discntId = discntId;
    }
}
